package org.example.simplemanagementsystem.service;


import org.example.simplemanagementsystem.pojo.Clazz;
import org.example.simplemanagementsystem.pojo.ClazzQueryParam;
import org.example.simplemanagementsystem.pojo.PageResult;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ClazzService {

    PageResult page(ClazzQueryParam clazzQueryParam);

    void delete(Long id);

    void add(Clazz clazz);

    Clazz getClassById(Long id);

    void update(Clazz clazz);

    List<Clazz> findAll();
}
